package concrete_field;

import java.util.Map;

import db.abstract_base.FieldX;

import gui.FieldGUIType;
import gui.FieldView;
import gui.GUIPath;


public class BoolField extends FieldX {

	public BoolField(Map<String, String> map) {
		super(map);
		setDefaultValue(Boolean.parseBoolean( map.get("FldDflValue")));
		setDbValue(Boolean.parseBoolean( map.get("FldDflValue")));
	}
	
	private boolean dbValue;
    private boolean defaultValue;
    
	public boolean getDefaultValue() {
		return defaultValue;
	}

	private void setDefaultValue(boolean defaultValue) {
		this.defaultValue = defaultValue;
	}

	public boolean getDbValue() {
		return dbValue;
	}

	public void setDbValue(boolean dbValue) {
		this.dbValue = dbValue;
	}
}
